Prediction of foot clearance parameters as a precursor to forecasting the risk of tripping and falling